package com.bwf.lgqingdan.mvp.model;

import com.bwf.lgqingdan.entity.ResponseCategoryThing;
import com.bwf.lgqingdan.entity.ResponseThings;

/**
 * Created by Administrator on 2016/11/14.
 */

public interface CategoryThingModel {
    void loadInitData(Callback callback);
    void loadThingsData(String url,Callback callback);
    public interface Callback{
        void loadInitDataSuccess(ResponseCategoryThing responseCategoryThing);
        void loadThingsDataSuccess(ResponseThings responseThings);

        void loadThingsDataFailed(String failedMsg);

        void loadInitDataFailed(String failedMsg);
    }
}
